package com.woniuxy.platform.core.service.impl;

import com.woniuxy.platform.core.model.PmMenu;
import com.woniuxy.platform.core.mapper.PmMenuMapper;
import com.woniuxy.platform.core.service.PmMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.platform.core.vo.PmMenuVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-06
 */
@Service
public class PmMenuServiceImpl extends ServiceImpl<PmMenuMapper, PmMenu> implements PmMenuService {

    @Resource
    private PmMenuMapper pmMenuMapper;

    @Override
    public List<PmMenuVo> selectAllMenu() {
        List<PmMenuVo> list = this.pmMenuMapper.selectAllMenu();
        return list;
    }
}
